package com.atgm.mall.gmmailproduct.controller;

import com.atgm.common.utils.R;
import com.atgm.mall.gmmailproduct.service.GameAttrRelaService;
import com.atgm.mall.gmmailproduct.vo.req.GameAttrReqVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@RequestMapping("gmmallproduct/gameattrrela")
public class GameAttrRelaController {

    @Autowired
    private GameAttrRelaService gameAttrRelaService;

    @PostMapping("save")
    public R saveGameAttrRela(@RequestBody GameAttrReqVo gameAttrReqVo) {
        gameAttrRelaService.saveGameAttrRelaInfo(gameAttrReqVo);
        return R.ok();
    }
}
